package com.open.api.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "open.api.common")
public class FromSqlProperty {

    /**
     * 是否从数据库获取 KEY
     */
    private Boolean fromDb=true;

    /**
     * 是否开启定时任务
     */
    private Boolean sfkqdsrw=true;
}
